package com.example.steveaoblogdemo.entity;

import java.util.Date;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;


/**
 * (Articles)表实体类
 *
 * @author makejava
 * @since 2023-07-18 18:16:26
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@SuppressWarnings("serial")
@TableName("articles")
public class Articles {
    //文章ID(自增)
    @TableId(type = IdType.AUTO)
    private Integer id;
    //文章作者
    private String author;
    //文章标题
    private String title;
    //文章概述
    private String summarize;
    //文章内容
    private String content;
    //文章标签
    private String tags;
    //文章类别
    private String category;
    //创建时间
    private String createTime;
    //修改时间
    private String updateTime;
    //文章状态(0表示存在，1表示删除)
    @TableLogic
    private Integer status;
    //推荐数
    private Integer recommendNum;
    //浏览量
    private Integer viewNum;


}

